Douglas 7B prototype
R-1830 engines and two .30 cal machine guns in each cheek blister. Four .30 cal guns had been standard attack aircraft forward firing gun armament all during the 30s.
Douglas, unasked, had designed a built an alternative nose with the bombardier taken out an two .50s and two .30s added to the cheek guns.
Please note that the 3 competitors to the 7B, the NA-40, the Stearman X-100 and the Martin 167 all carried two .30s cal in each wing in addition to whatever they had for flexible guns in the fuselage.
The US Army was looking for something better than the Curtiss A-18 and Northrop A-17.
The A-18 had take too long in the 1930s to get into production and was out dated. The wings were fabric covered after the main spar for example.
The Northrop A-17 was smaller(less capable) than the Army wanted.
I know the thread says twin engine, just showing the US evolution of requirements.
Please note that the US Army had issued requirments for medium bombers in March of 1939 and had ordered the B-25 pretty much off the drawing board in Sept 1939.
A bit risky but the NA-40
cut down some of the risk. Please note that this plane used a larger crew than the Douglas and Martin aircraft.
The Army was doing a lot of thinking/planning of the "attack role" and was moving away from the low level multiple MG type of attack due to war games and observations of the Spanish civil war. There was, as in a lot of countries, a lot of internal discussions (bickering) with Army ground forces wanting to keep their ground support aircraft helping on the front lines and the bomber mafia wanting to bomb the rear areas or at least bomb supply routes and not suffer the high losses over the battlefield ( 1937-39 AA guns were not what they would be even in 1940-42, either front line or further to the rear).
For the US, even defending the US shores required longer range aircraft than British, French, German and Soviets needed.
Crossover between light bombers and twin engine attack aircraft gets pretty murky. US Attack aircraft not only had the machine guns but increasing quantities of light (very light) fragmenting bombs vs a small number (relatively) of 100-500lb demolition bombs.